package com.example.androidmqtt.Entry;

import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;
import java.util.Date;

/**
 * @author: pjg
 * @time: 2022/10/1
 */
public class Message implements Serializable {

    @TableField("user_id")
    private Integer userId;

    @TableField("news_id")
    private Integer newsId;

    @TableField("isread")
    private Integer isRead;

    @TableField("iscancel")
    private Integer isCancel;
    public Message() {
    }

    public Message(Integer userId, Integer newsId) {
        this.userId = userId;
        this.newsId = newsId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getNewsId() {
        return newsId;
    }

    public void setNewsId(Integer newsId) {
        this.newsId = newsId;
    }

    public Integer getIsRead() {
        return isRead;
    }

    public void setIsRead(Integer isRead) {
        this.isRead = isRead;
    }

    public Integer getIsCancel() {
        return isCancel;
    }

    public void setIsCancel(Integer isCancel) {
        this.isCancel = isCancel;
    }
}
